<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5><span>
                            <vc:i18n name="查询条件"></vc:i18n>
                        </span></h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择小区名称','marketLogManage')"
                                    v-model="marketLogInfo.conditions.communityName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="marketLogInfo.conditions.sendWay">
                                <option selected value="">{{vc.i18n('请选择营销方式','marketLogManage')}}
                                </option>
                                <option value="1001">{{vc.i18n('短信','marketLogManage')}}
                                </option>
                                <option value="2002">{{vc.i18n('微信模板消息','marketLogManage')}}
                                </option>
                                <option value="3003">{{vc.i18n('其他','marketLogManage')}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <select class="custom-select" v-model="marketLogInfo.conditions.businessType">
                                <option selected value="">{{vc.i18n('请选择业务类型','marketLogManage')}}
                                </option>
                                <option value="1001">{{vc.i18n('门禁','marketLogManage')}}
                                </option>
                                <option value="2002">{{vc.i18n('车辆道闸','marketLogManage')}}
                                </option>
                                <option value="3003">{{vc.i18n('手机支付完成','marketLogManage')}}
                                </option>
                                <option value="4004 ">{{vc.i18n('报修单提交','marketLogManage')}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryMarketLogMethod()">
                                <i class="glyphicon glyphicon-search"></i> <span>
                                    <vc:i18n name="查询"></vc:i18n>
                                </span>
                            </button>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写营销人','marketLogManage')"
                                    v-model="marketLogInfo.conditions.personNameLike" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写开始时间','marketLogManage')"
                                    v-model="marketLogInfo.conditions.startTime" class=" form-control logStartTime">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写结束时间','marketLogManage')"
                                    v-model="marketLogInfo.conditions.endTime" class=" form-control logEndTime">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5><span>
                            <vc:i18n name="营销记录" namespace="marketLog"></vc:i18n>
                        </span></h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center"><span>
                                        <vc:i18n name='编号' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='营销规则' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='小区名称' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='营销人' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='手机号' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='openId' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='营销方式' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='业务类型' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                    <th class="text-center"><span>
                                        <vc:i18n name='发送时间' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='说明' namespace='marketLogManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='操作'></vc:i18n>
                                    </span></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="marketLog in marketLogInfo.logs">
                                <td class="text-center">{{marketLog.logId}}</td>
                                <td class="text-center">{{marketLog.ruleName}}</td>
                                <td class="text-center">{{marketLog.communityName}}</td>
                                <td class="text-center">{{marketLog.personName}}</td>
                                <td class="text-center">{{marketLog.personTel}}</td>
                                <td class="text-center">{{marketLog.openId}}</td>
                                <td class="text-center">{{marketLog.sendWayName}}</td>
                                <td class="text-center">{{marketLog.businessTypeName}}</td>
                                <td class="text-center">{{marketLog.createTime}}</td>

                                <td class="text-center">{{marketLog.remark}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openViewLogModel(marketLog)"><span>
                                                <vc:i18n name='发送内容'></vc:i18n>
                                            </span></button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="admin/viewMarketSendContent" callBackListener="" callBackFunction=""></vc:create>
</div>